import { lazy, Suspense } from "react";

var AllocateAudit = lazy(() => import('../../views/Allocate/AllocateAudit'))
var AllocateList = lazy(() => import('../../views/Allocate/AllocateList'))
var AllocateManagement = lazy(() => import('../../views/Allocate/AllocateManage'))
//创建
var Create = lazy(() => import('../../views/Allocate/List/Create'))
//详情
var Details = lazy(() => import('../../views/Allocate/List/Details'))
//编辑
var Edit = lazy(() => import('../../views/Allocate/List/Edit'))

export default [
    {
        path: "/index/home/AllocateManagement",
        element: <Suspense><AllocateManagement /></Suspense>
    },
    {
        path: "/index/home/AllocateAudit",
        element: <Suspense><AllocateAudit /></Suspense>
    },
    {
        path: "/index/home/AllocateList",
        element: <Suspense><AllocateList /></Suspense>
    },
    {
        path: "/index/home/Create",
        element: <Suspense><Create /></Suspense>
    },
    {
        path: "/index/home/Details",
        element: <Suspense><Details /></Suspense>
    },
    {
        path: "/index/home/Edit",
        element: <Suspense><Edit /></Suspense>
    },


]